package cn.stylefeng.guns.modular.gridsystem.model.param;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 网关导入模板请求类
 *
 * @author zxw 2022/11/15 13:52
 */
@Data
public class GatewayImportParam {

    /**
     * 网关主键
     */
    @ExcelIgnore
    private Integer id;

    /**
     * 所属站点ID
     */
    @ExcelIgnore
    private Integer stationId;

    /**
     * 导入文件ID
     */
    @ExcelIgnore
    private Long fileId;
    /**
     * 序号
     */
    @ExcelProperty(index = 0)
    private String seqNo;

    /**
     * 网关名称
     */
    @ExcelProperty(index = 1)
    private String gatewayName;

    /**
     * 网关编码
     */
    @ExcelProperty(index = 2)
    private String gatewayCode;

    /**
     * 通道数量
     */
    @ExcelProperty(index = 3)
    private String channelNum;

    /**
     * 阀值
     */
    @ExcelProperty(index = 4)
    private String threshold;

    /**
     * 网关类型
     */
    @ExcelProperty(index = 5)
    private String typeName;

    /**
     * 关联场景名称
     */
    @ExcelProperty(index = 6)
    private String sceneName;

    /**
     * 传感器类型
     */
    @ExcelProperty(index = 7)
    private String sensorType;

}
